package com.sell.from;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @author: megan
 * @eMail: meganmail@vip.qq.com
 * @date: 2018/12/6 15:32
 * @version: v1.0
 * @description: 订单query
 */
@Data
public class OrderFrom {

    /**
     * 买家姓名
     */
    @NotEmpty(message = "姓名必须填写")
    private String name;

    /**
     * 买家手机号
     */
    @NotEmpty(message = "手机号必须填写")
    private String phone;

    /**
     * 买家地址
     */
    @NotEmpty(message = "地址必须填写")
    private String address;

    /**
     * 微信openid
     */
    @NotEmpty(message = "openid不能为空")
    private String openid;

    /**
     * 购物车
     */
    @NotEmpty(message = "购物车不能为空")
    private String item;
}
